package android_design_mode.chapter06_abstract_factory.audifactory;

import android_design_mode.chapter06_abstract_factory.audifactory.breaks.IBrake;
import android_design_mode.chapter06_abstract_factory.audifactory.breaks.SeniorBrake;
import android_design_mode.chapter06_abstract_factory.audifactory.engine.IEngine;
import android_design_mode.chapter06_abstract_factory.audifactory.engine.ImportEngine;
import android_design_mode.chapter06_abstract_factory.audifactory.tire.ITire;
import android_design_mode.chapter06_abstract_factory.audifactory.tire.SUVTire;

public class Q7Factory extends CarFactory {
    @Override
    public ITire createTire() {
        return new SUVTire();
    }

    @Override
    public IEngine createEngine() {
        return new ImportEngine();
    }

    @Override
    public IBrake createBrake() {
        return new SeniorBrake();
    }
}
